import { res_send_cur_identity_card_is_created_next_operate_tips } from '../DataDefine/sourceData';
import { typ_create_account_code } from '../Types';
import { res_send_cur_info_is_create } from './cla_res_send_cur_info_is_create';

const res_send_cur_identity_card_is_createdTag =
  'res_send_cur_identity_card_is_created';

class res_send_cur_identity_card_is_created extends res_send_cur_info_is_create {
  get [Symbol.toStringTag]() {
    return res_send_cur_identity_card_is_createdTag;
  }

  constructor(Identity_card_number: string) {
    super();
    this.is_created = true;

    this.Identity_card_number = Identity_card_number;

    this.describe = `当前 用户 身份证卡号 ${Identity_card_number} 已 注册`;

    this.res_code = typ_create_account_code.identity_registered;
  }

  Identity_card_number: string;

  describe: string;

  /**
   * 可以进行的操作 提示
   */
  next_operate_tips = res_send_cur_identity_card_is_created_next_operate_tips;
}

export { res_send_cur_identity_card_is_created };
